package xyz.zdsoft.course_manage_module.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.apache.poi.ss.formula.functions.T;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import xyz.zdsoft.common.utils.Result;

import java.util.List;

/**
 * @author 王林
 * @version 1.0
 * @date 2021-07-22 周四
 * @time 11:03
 * @description
 */
@Api(tags = "老师课程管理")
@RestController
@RequestMapping("api/teacher/course")
public class TeacherController {

    // 查询项目课程表
    @ApiOperation(value = "查看课程表")
    @GetMapping("")
//    @ApiImplicitParams({
//            @ApiImplicitParam(name = "classId", value = "班级", dataType = "String", required = false),
//            @ApiImplicitParam(name = "responsibleTeacherId", value = "责任老师", dataType = "String", required = false),
//            @ApiImplicitParam(name = "classId", value = "实训老师", dataType = "datetime", required = false),
//            @ApiImplicitParam(name = "createTime", value = "日期", dataType = "String", required = false),
//
//    })
    public Result selectCourse() {

        Result result = null;
        return null;
    }


    // 根据课程id查询学生 - 在项目课程表页面的“查看学生”按钮，查询该课程下的所有学生
    @ApiOperation(value = "查看课程下学生")
    @GetMapping("/student")
    public Result selectStudentByLesson() {


        Result result = null;
        return result;
    }


}
